<!--
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2023-09-12 13:43:30
 * @LastEditors: 卡卡 1071780426@qq.com
 * @LastEditTime: 2023-09-21 17:32:52
 * @FilePath: \mould\src\views\QualityGridManage\BehaViorManage\quality-G-R-Manage\onlineRecordWork\index.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<!--基桩工程检测管理--基桩工程信息--查看-->
<template>
    <div class="page_detail" id="page_detail">
        <TableLyout :treelength="treelength">
            <template v-slot:treebox>
                <div class="structureTree_title">
                    <div>组织机构</div>
                    <div>
                        <el-checkbox v-model="checked" @change="see()">查看下级</el-checkbox>
                    </div>
                </div>
                <tree :treeData="treeData" :checkData="checkData" nodeKey="fCompanyid" @getTreeInfo="handleNodeClick"
                    :defaultProps="defaultProps">
                </tree>
            </template>
            <template v-slot:breadcrumb>
                <div>
                    <el-breadcrumb :title="showName"></el-breadcrumb>
                </div>
            </template>
            <template v-slot:serchbox>

                <publicForm ref="publicForm" @yj_searchForm="yj_searchForm" lableWidth="110px" :formObj="searchObj"
                    :formData="getList">
                </publicForm>

            </template>

            <template v-slot:btnbox>
                <el-button type="primary" v-for="(item, index) in  btnObj" :key="index"
                    @click="getBtnName(item.fEncode, item.fOrder)">{{
                        item.fFullname
                    }}</el-button>

            </template>
            <template v-slot:tabcom>
                <div class="tableInfo">
                    <tableData :page="getList.page" :pageSize="getList.pageSize"  height="100%"
                        :config="table_config" :dataList="tableData" :loading="loading" @click-change="rowChange"
                        :info="queryCriteriaData" :total="queryCriteriaData.total" :pageNum.sync="getList.page"
                        :limit.sync="getList.pageSize" @pagination="yj_searchForm(getList)" @ClickOnLine="yj_viewForm" />
                </div>

            </template>
        </TableLyout>
        <custom-dialog @refreshList="refreshList" :currentRow="currentRow" :status="status" :statusNum="statusNum"
            :projectId="projectId" :projectName="projectName" v-if="isShow" :dialogVisible="isShow" @close="closeDialog"
            :dataFid="currentRow" :monthStatus="monthStatus" :fCompanyid="getList.fCompanyid"></custom-dialog>
        <!-- projectId projectName-->
        <!-- 99ca0578-fceb-4f58-b1b2-dbec0db96e6e -->
    </div>
</template>
<script src="./index.js">
</script>
<style scoped lang="less">
@import './index.less';
</style>